<%@page import="java.text.DateFormat,java.util.List,com.crm.entity.Opportunity"%>
<%@page import="java.text.SimpleDateFormat"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<div id="main">
<div id="content">
   <div id="work-area2">
 	<div class="boxIFS">
	 
	  <div id="demo">
	 <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#C5E4EB">
          <tr>
          <td width="186" align="left" valign="middle" background="<%=application.getContextPath()%>/images/table-box.jpg"   style="background-repeat:repeat-xbgcolor="#FFFFFF">S.No</td>
            <td width="186" align="left" valign="middle" background="<%=application.getContextPath()%>/images/table-box.jpg"   style="background-repeat:repeat-xbgcolor="#FFFFFF">Reference Number</td>
            <td width="162" align="left" valign="middle" background="<%=application.getContextPath()%>/images/table-box.jpg"   style="background-repeat:repeat-xbgcolor="#FFFFFF"> Enquiry Number</td>
            <td width="138" align="left" valign="middle" background="<%=application.getContextPath()%>/images/table-box.jpg"  style="background-repeat:repeat-x bgcolor="#FFFFFF">Type of Enquiry</td>
            <td width="140" align="left" valign="middle" background="<%=application.getContextPath()%>/images/table-box.jpg"   style="background-repeat:repeat-xbgcolor="#FFFFFF">B_Guarntee_Given_Date</td>
            <td width="36" align="left" valign="middle" background="<%=application.getContextPath()%>/images/table-box.jpg"  style="background-repeat:repeat-x">B_Guarntee_End_Date</td>
            <td width="36" align="left" valign="middle" background="<%=application.getContextPath()%>/images/table-box.jpg"  style="background-repeat:repeat-x">InvoiceNo. </td>
          </tr>

        <c:forEach items="${oplist}" var="opObj" varStatus="vs">
          <tr><td align="left" valign="top" bgcolor="#FFFFFF">${vs.count}</td>
            <td align="left" valign="top" bgcolor="#FFFFFF"><a href="#" > <span style="color: red;">${opObj.referenceNumber }</span></a></td>
            <td align="left" valign="top" bgcolor="#FFFFFF">${opObj.enquiryNumber }</td>
            <td align="left" valign="top" bgcolor="#FFFFFF">${opObj.enquiryType }</td>
            <td align="left" valign="top" bgcolor="#FFFFFF">${opObj.bgStartDate }</td>
            <td align="left" bgcolor="#FFFFFF" >${opObj.bgEndDate }</td>
            <td align="left" bgcolor="#FFFFFF" >${opObj.invoiceNumber}</td>
          </tr>
      </c:forEach>
        </table>
        
	 </div>
	 <!-- <table style="height:500px; width:910px;" ><tr><td>
	   <div class="boxtable" id="result">
	   <div id="partsDiv"></div>
	  </div>
	  </td>
	  </tr>
	  </table> -->
	 </div>
	 </div>
	 </div>
	  
    </div>
</body>
</html>
 